home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-20 / nos_kit3.zip / TED.DOC < prev    next >
Text File  |  1990-06-17  |  4KB  |  83 lines

  1. T E D  -  Tiny EDitor  by Tom Kihlken  version 1.0
  2.  
  3. This tiny editor was published in "PC Magazine" volume 7 number 19.
  4. The issue is dated November 15, 1988 and the article begins on page 281.
  5.  
  6. PURPOSE:
  7.     A small, full-screen editor for line-oriented files of up to 64k in
  8.     length that supports scrolling, cut, copy, paste, and printing
  9.     operations, and permits entry of all members of the IBM character set.
  10.     (Note:  free memory required to run is ~131k bytes)
  11. USAGE:
  12.     TED [filespec]
  13. REMARKS:
  14.     TED will open and read a file whose name (and path, if required)
  15.     are supplied initially.  If no filespec is provided, it will open a
  16.     new file and prompt for a filename when F7 is pressed to save
  17.     and exit.  The original of a modified file is saved with a .BAK
  18.     extension.  The ABORT command (F1), when verified, abandons any
  19.     modifications and leaves the original file intact.
  20.  
  21.     Lines may be of any length, and each must be terminated by
  22.     pressing Enter.  Lines longer than the screen width display a
  23.     diamond in the rightmost column.  Off screen characters (up to
  24.     248 columns) may be viewed by using the Ctrl-arrow keys.
  25.     Lines may be broken by pressing Enter at any point, and may be
  26.     conflated by pressing Del at the line end.
  27.  
  28.     A block of text is defined by toggling the MARK command (F4)
  29.     on and moving the cursor with the arrow keys.  The marked area
  30.     is shown in inverse video.  Pressing F3 prints the blocked text;
  31.     F5 (CUT) removes it to a buffer from which it can be pasted (F6)
  32.     at any point where the cursor is located.  The paste buffer
  33.     remains intact until another section is marked and cut.
  34.  
  35.     Pressing F8 deletes to the end of a line; F9 deletes the entire line.
  36.     F10 restores the most recent deletion of F8 or F9.  The UNDO
  37.     command (F2) restores letters deleted by the Del (but not by the
  38.     Backspace) key if the cursor has not been moved.
  39.  
  40.     The Home and End keys move the cursor to the beginning and
  41.     end of the current screen line; the Tab key moves to the next
  42.     column evenly divisible by eight.  Text is entered in insert mode
  43.     by default; pressing the Ins key toggles to overstrike mode. TED
  44.     configures itself to the display in use and supports EGA and
  45.     VGA text modes other than the standard 80 columns by 25 rows.
  46.     PgUp and PgDn scroll the file by the number of rows displayed,
  47.     minus 5.  Ctrl-PgUp and Ctrl-PgDn move to the top and bottom
  48.     of the file.
  49.  
  50.     Any character in the IBM set can be entered by pressing the Alt
  51.     key, typing its ASCII value on the numeric keypad, then releasing
  52.     the Alt key.
  53.  
  54.  
  55. KEYPAD COMMANDS                EDITING FUNCTIONS
  56. ======================================    ======================================
  57. KEY        OPERATION        KEY    FCN    OPERATION
  58. ======================================    ======================================
  59. Up Arrow    Cursor up 1 row        F1    ABORT    Exit without saving
  60. Down Arrow    Cursor down 1 row    F2    UNDO    Replace recently
  61. Left Arrow    Cursor left 1 column            deleted characters
  62. Right Arrow    Cursor right 1 column    F3    PRINT    Prints marked text
  63. --------------------------------------    F4    MARK    Toggles mark state
  64. PgUp        Moves text window up            on/off
  65.         one page        F5    CUT    Moves marked text to
  66. PgDn        Moves text window down            paste buffer
  67.         one page        F6    PASTE    Inserts contents of
  68. Home        Moves cursor to start            paste buffer
  69.         of row            F7    EXIT    Saves changes & exits
  70. End        Moves cursor to end    F8    DEL EOL    Deletes from cursor
  71.         of row                    to the end of the line
  72. Ins        Toggles insert/        F9    DEL L    Deletes the current
  73.         overstrike mode                line
  74. Del        Deletes character at    F10    UDEL L    Inserts the last
  75.         the cursor                deleted line
  76. --------------------------------------
  77. Ctrl-PgUp    Moves to top of file
  78. Ctrl-PgDn    Moves to bottom of file
  79. Ctrl-RightArrow    Moves text window right
  80.         eight columns
  81. Ctrl-LeftArrow    Moves text window left
  82.         eight columns
  83.